﻿using Microsoft.EntityFrameworkCore;
using MonitorModule.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//数据库上下文
namespace ProductMonitor.DbContexts {
    public class ProductMonitorDbContext : DbContext {
        //构造函数
        public ProductMonitorDbContext(DbContextOptions<ProductMonitorDbContext> options) : base(options) { }

        public virtual DbSet<ModuleDetail> ModuleDetail { get; set; }
    }
}
